import request from "@/utils/request";

//获取用户列表
export function getUserList(data) {
  return request({
    url: "fuWuShang/cusHehuoren/list",
    method: "get",
    params: data,
  });
}

//编辑用户信息
export function editUser(data) {
  return request({
    url: "fuWuShang/cusHehuoren/edit",
    method: "get",
    params: data,
  });
}

//新增用户信息
export function addUser(data) {
  return request({
    url: "fuWuShang/cusHehuoren/add",
    method: "get",
    params: data,
  });
}

//删除用户信息
export function removeUser(data) {
  return request({
    url: "fuWuShang/cusHehuoren/add",
    method: "get",
    params: data,
  });
}


//获取【用户】列表
export function jfzxUserList(data) {
  return request({
    url: "fuWuShang/002/cusUser/001-list",
    method: "get",
    params: data,
  });
}

//获取【用户】列表
export function jfzxUserAdd(data) {
  return request({
    url: "fuWuShang/002/cusUser/002-add",
    method: "get",
    params: data,
  });
}

//获取【用户】列表
export function jfzxUserEdit(data) {
  return request({
    url: "fuWuShang/002/cusUser/003-edit",
    method: "get",
    params: data,
  });
}

//获取【用户】列表
export function jfzxUserRemove(data) {
  return request({
    url: "fuWuShang/002/cusUser/004-remove",
    method: "get",
    params: data,
  });
}

//获取角色列表
export function cusRoleList(data) {
  return request({
    url: 'admin/004/cusRole/001-list',
    method: 'get',
    params: data
  })
}
